package com.onland.dfish.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.onland.dfish.entity.Comments;

import java.util.List;

/**
 * 评论业务类接口
 */
public interface ICommentsService {
    /**
     * 添加评论
     *
     * @param  comments
     * @return
     */
    int insert(Comments comments);

    /**
     * 查看评论
     * @param videoid
     * @return
     */
    List<Comments> queryComments(int videoid);

}
